-- GENERATED SPELL FOR [Gorlash] --


function spell0_1492(pUnit, Event) --@Trample,Self--
pUnit:FullCastSpellOnTarget(5568,pUnit)
pUnit:RegisterEvent('Sorts_1492', 556, 1)
end

function Sorts_1492(pUnit, Event)
local choix_sorts_1492 = math.random(0, 0)
if choix_sorts_1492 == 0 then
pUnit:RegisterEvent('spell0_1492', 1, 1)
end
end

function mob1492_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1492', math.random(1500, 3000), 1)
end

function mob1492_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1492_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1492_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1492, 1, 'mob1492_Action')
RegisterUnitEvent(1492, 2, 'mob1492_Leave')
RegisterUnitEvent(1492, 3, 'mob1492_Kill')
RegisterUnitEvent(1492, 4, 'mob1492_Die')
